<template>
  <div class="box">
      <header class="header">VIP会员</header>
      <div class="content">
        <div class="teach">
          <div class="teach1">
            <h1>名厨教学</h1>
            <h2>秋冬进补吃牛肉</h2>
            <h3>暖胃又暖身</h3>
          </div>
          <img src="https://ps.ssl.qhmsg.com/bdr/_240_/t01a3ed9f01264f1d29.jpg" alt="">
        </div>
        <div class="vip1">
          <h4>VIP最新推荐</h4>
          <ul>
            <li><video controls src="../../assets/1.mp4"></video></li>
            <li><video controls src="../../assets/1.mp4"></video></li>
          </ul>
        </div>
        <div class="vip2">
          <h4>VIP限时免费</h4>
          <ul>
            <li><video controls src="../../assets/1.mp4"></video></li>
            <li><video controls src="../../assets/1.mp4"></video></li>
          </ul>
        </div>
        <div class="vip3">
          <h4>VIP特邀名厨</h4>
          <ul>
            <li>
              <img src="https://ps.ssl.qhmsg.com/bdr/_240_/t01a3ed9f01264f1d29.jpg" alt="">
              <p>604万人学</p>
              <i>无肉不欢星人最爱</i>
              <span>万豪集团酒店中餐厨万豪集团酒店中餐厨</span>
            </li>
            <li>
              <img src="https://ps.ssl.qhmsg.com/bdr/_240_/t01a3ed9f01264f1d29.jpg" alt="">
              <p>57.6万人学</p>
              <i>零基础学西餐教程</i>
              <span>北京昆仑饭店西餐副主厨北京昆仑饭店西餐</span>
            </li>
          </ul>
        </div>
        <div class="vip4">
          <h4>名厨课：甜蜜粤式经典</h4>
          <ul>
            <li>
              <img src="https://ps.ssl.qhmsg.com/bdr/_240_/t01a3ed9f01264f1d29.jpg" alt="">
              <em>中秋的仪式感</em>
            </li>
            <li>
              <img src="https://ps.ssl.qhmsg.com/bdr/_240_/t01a3ed9f01264f1d29.jpg" alt="">
              <em>广东主厨详细讲解</em>
            </li>
          </ul>
        </div>
        <div class="vip5">
          <h4>名厨课：换个口味！高颜值美食</h4>
          <ul>
            <li>
              <img src="https://ps.ssl.qhmsg.com/bdr/_240_/t01a3ed9f01264f1d29.jpg" alt="">
              <em>宴客菜的合理搭配</em>
            </li>
            <li>
              <img src="https://ps.ssl.qhmsg.com/bdr/_240_/t01a3ed9f01264f1d29.jpg" alt="">
              <em>跟名厨学超热菜肴</em>
            </li>
          </ul>
        </div>
      </div>
  </div>
</template>

<script>
export default {
}
</script>

<style lang="scss" scoped>
.box{
  .header{
    text-align: center;
    line-height: 0.44rem;
    font-size: 0.16rem;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
  }
  .content{
    width: 100%;
    .teach{
      width: 90%;
      height: 1rem;
      margin: 0.1rem auto 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-sizing: border-box;
      padding: 0 0.45rem;
      background: url(../../assets/beijing2.jpg) no-repeat center top/cover;
      .teach1{
        width: 65%;
        display: flex;
        flex-direction: column;
        justify-content:center;
        align-items: center;
        h1{
          height: 0.2rem;
          line-height: 0.2rem;
          padding: 0 0.08rem;
          font-size: 0.1rem;
          border: 1px solid #ccc;
          border-radius: 0.1rem;
          color: #888;
          margin-bottom: 0.05rem;
        }
        h2{
          font-size: 0.16rem;
        }
        h3{
          font-size: 0.14rem;
        }
      }
      img{
        width: 0.7rem;
        height: 0.7rem;
        border-radius: 50%;
      }
    }
    .vip1,.vip2{
      width: 90%;
      margin: 0.25rem auto;
      h4{
        width: 100%;
        height: 0.2rem;
        line-height: 0.2rem;
        font-size: 0.16rem;
        margin-bottom: 0.1rem;
      }
      ul{
        width: 100%;
        display: flex;
        justify-content: space-between;
        li{
          width: 48%;
          video{
            width: 100%;
            height: 1.4rem;
          }
        }
      }
    }
    .vip3{
      width: 90%;
      margin: 0.25rem auto;
      h4{
        width: 100%;
        height: 0.2rem;
        line-height: 0.2rem;
        font-size: 0.16rem;
        margin-bottom: 0.1rem;
      }
      ul{
        width: 100%;
        display: flex;
        justify-content: space-between;
        li{
          width: 48%;
          background: #f3f3f3;
          img{
            width: 100%;
            height: 1.5rem;
          }
          p{
            height: 0.2rem;
            line-height: 0.2rem;
            font-size: 0.1rem;
            width: 50%;
            text-align: center;
            border: 1px solid #cccccc;
            margin: 0.05rem 0;
          }
          i{
            width: 100%;
            font-size: 0.14rem;
          }
          span{
            display: block;
            width: 100%;
            font-size: 0.12rem;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
          }
        }
      }
    }
    .vip4,.vip5{
      width: 90%;
      margin: 0.25rem auto;
      h4{
        width: 100%;
        height: 0.2rem;
        line-height: 0.2rem;
        font-size: 0.16rem;
        margin-bottom: 0.1rem;
      }
      ul{
        width: 100%;
        display: flex;
        justify-content: space-between;
        li{
          width: 48%;
          background: #f3f3f3;
          height: 1.5rem;
          position: relative;
          img{
            width: 100%;
            height: 100%;
          }
          em{
            width: 100%;
            text-align: center;
            font-size: 0.12rem;
            position: absolute;
            left: 0;
            bottom: 0.5rem;
            color: saddlebrown;
          }
        }
      }
    }
  }
}
</style>
